home *** CD-ROM | disk | FTP | other *** search
- #define CURSES_LIBRARY 1
- #include <curses.h>
- #undef winsch
-
- #ifdef PDCDEBUG
- char *rcsid_winsch = "$Header: C:\CURSES\portable\RCS\winsch.c 2.1 1993/06/18 20:21:42 MH Rel MH $";
- #endif
-
-
-
-
- /*man-start*********************************************************************
-
- winsch() - Insert character
-
- X/Open Description:
- The character ch is inserted before the character under the
- cursor. All characters to the right are moved one space to the
- right, possibly losing the rightmost character on the line.
- The cursor position does not change (after moving to y,x if
- specified).
-
- NOTE: insch(), mvinsch(), mvwinsch() are macros.
-
- PDCurses Description:
- See the call ctrl( bool bf ); for information regarding the
- replacement of all former 1.4 and prior "raw" PDCurses
- routines.
-
- X/Open Return Value:
- These functions return OK on success and ERR on error.
-
- X/Open Errors:
- No errors are defined for this function.
-
- Portability:
- PDCurses int winsch( WINDOW* win, chtype ch );
- X/Open Dec '88 int winsch( WINDOW* win, chtype ch );
- BSD Curses int winsch( WINDOW* win, chtype ch );
- SYS V Curses int winsch( WINDOW* win, chtype ch );
-
- **man-end**********************************************************************/
-
- int winsch( WINDOW *win, chtype ch )
- {
- #ifdef PDCDEBUG
- if (trace_on) PDC_debug("winsch() - called\n");
- #endif
-
- return( PDC_chins( win, ch, !(_cursvar.raw_out) ) );
- }
-